﻿
using System;

namespace EraNet.Core.Model.Account
{
    public class AdminMember:BaseEntity
    {
        #region 后台管理员表
        /// <summary>
        /// 账户名
        /// </summary>
        public virtual string AccountName { get; set; }
        /// <summary>
        /// 密码，默认成123456
        /// </summary>
        public virtual string Password { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string RealNames { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public virtual string Sex { get; set; }
        public virtual string Telephone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public virtual string Address { get; set; }
        /// <summary>
        /// 邮件地址
        /// </summary>
        public virtual string Email { get; set; }
        /// <summary>
        /// 状态，
        /// 1.正常
        /// 0.锁定状态
        /// 2.删除
        /// </summary>
        public virtual int Status { get; set; }
        /// <summary>
        /// 添加人ID
        /// </summary>
        public virtual int CreatedByUserID { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public virtual DateTime CreateDate { get; set; }
        /// <summary>
        /// 最后登陆的IP地址
        /// </summary>
        public virtual string LastIPAddress { get; set; }
        /// <summary>
        /// 最后登陆时间
        /// </summary>
        public virtual DateTime LastLoginDate { get; set; }
        #endregion
    }
}
